package com.xinruke.hostels.reportinterfaces.dto;

import com.xinruke.hostels.reportinterfaces.vo.ConditionVO;
import com.xinruke.hostels.reportinterfaces.vo.OrderFieldVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @ClassName SingleQueryDTO
 * @CreateDate 2019/8/6
 * @Author FengXinQiang
 * @Version V1.0.0.0
 * @Decription 单一查询请求
 */
@ApiModel("单一查询请求")
@Data
public class SingleQueryDTO {
    @ApiModelProperty("报表编号")
    @NotNull
    private Integer reportId;

    @ApiModelProperty(value = "每页记录数，默认20", example = "20")
    private int pageSize = 20;

    @ApiModelProperty(value = "当前页号，默认1", example = "1")
    private int pageNo = 1;

    @ApiModelProperty("排序字段集合")
    private List<OrderFieldVO> orderFieldVOList;

    @ApiModelProperty("查询条件集合")
    private List<ConditionVO> conditionVOList;
}
